You are here: Main Explorer > Prototypes > Prototype Samples for Previous Releases > Scheduled Computation

 

Scheduled Computation

Scheduled computation is used to calculate values on policies that do not have a variable component. The ScheduledValuation business rule was enhanced to include a <Computation> element that when present toggles the rule's action from valuation to computation.

 

A SQL query within the business rule identifies the policies or segments selected for the various computation calculations such as cash value, surrender charge, and anything else required using standard math syntax. The output values that are calculated are stored in the database in order to be accessed for reporting or picked up by downstream systems.

Scenario

Use a plan level transaction to perform scheduled computation on all policies within the SQL query.  

 

Cycle is involved in scheduled computation. A cycle agent has to be deployed; either in a web container like Weblogic or Websphere, or as a standalone application, and must be running in order for scheduled computation to work correctly. Refer to the Cycle document in the Documentation Library on OTN for additional information on cycle.

 

Configuration Requirements

The following components must be configured in order to perform scheduled computation:

 

Prototype Samples

 

There are several business rules used to demonstrate this configuration:

 

There are two plan level transactions configured to demonstrate scheduled valuation:

View Prototypes in OIPA

  1. Log in OIPA using the Prototype Company user ID and password.
  2. Click Plan | Plan Activity from the Main menu.
  3. Click Add Activity from the Secondary menu.
  4. Select the ScheduledComputation activity from the Activity drop down box.
  5. Type an effective date in the Effective Date field.
  6. Click the lightning bolt icon to process the activity. (Processing would typically be done through cycle.)
  7. Give the application about five minutes, then refresh the screen. The processing status will change from Processing (Wait) to Active.
  8. View the computation results by referencing the database tables. All information exists on the AsComputationRequest, AsScheduledComputation and AsScheduledComputationField tables. The last table has all of the output data from the computation for each policy or segment.

 

 

Copyright © 2009, 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices